package net.lgy.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * 存储信息DTO
 */
public class StorageDTO implements Serializable {
    
    @Schema(description = "总存储空间(字节)")
    private Long totalSize;
    
    @Schema(description = "已使用存储空间(字节)")
    private Long useSize;
    
    @Schema(description = "剩余存储空间(字节)")
    private Long remainSize;
    
    @Schema(description = "存储空间单位")
    private String sizeUnit;
    
    // getter方法
    public Long getTotalSize() {
        return totalSize;
    }
    
    public Long getUseSize() {
        return useSize;
    }
    
    public Long getRemainSize() {
        return remainSize;
    }
    
    public String getSizeUnit() {
        return sizeUnit;
    }
    
    // setter方法
    public void setTotalSize(Long totalSize) {
        this.totalSize = totalSize;
    }
    
    public void setUseSize(Long useSize) {
        this.useSize = useSize;
    }
    
    public void setRemainSize(Long remainSize) {
        this.remainSize = remainSize;
    }
    
    public void setSizeUnit(String sizeUnit) {
        this.sizeUnit = sizeUnit;
    }
}